﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO_HealthInsurance;
using DTO_HealthInsurance;
namespace BLL_HealthInsurance
{
    public class BLLPolicyRequest
    {
        DAOPolicyRequest objDAOPoRe = new DAOPolicyRequest();

        public DataTable ListPolicy()
        {
            return objDAOPoRe.ListPoRe();
        }
        public int insertPolicyRequset(DTOPolicyRequestDetail objPoRe)
       {
           return objDAOPoRe.InsertPoRe(objPoRe);
       }
        public int updatePolicyRequset(DTOPolicyRequestDetail objPoRe)
        {
            return objDAOPoRe.UpdatePoRe(objPoRe);
        }
        public int deletePolicyRequset(DTOPolicyRequestDetail objPoRe)
        {
            return objDAOPoRe.DeletePoRe(objPoRe);
        }
        public DataTable GetPolicyRequsetById(DTOPolicyRequestDetail objPoRe)
        {
            return objDAOPoRe.GetPoReByReId(objPoRe);
        }
    }
}
